##
## Makefile for  in /home/richar_s//Zappy
## 
## Made by quentin richard
## Login   <richar_s@epitech.net>
## 
## Started on  Tue May 29 11:01:22 2012 quentin richard
## Last update Tue May 29 11:01:24 2012 quentin richard
##

NAME		=	ClGraphX

SRC		=	main.c

OBJ		=	$(SRC:.c=.o)

CC		=	cc

SDLFLAGS	+=	-lSDL

RM		=	rm -f

all:		$(NAME)

$(NAME):	$(OBJ)
		$(CC) $(SDLFLAGS) -o $(NAME) $(OBJ)
		@printf "\tCompilation complete !\n"

clean:
		$(RM) $(OBJ)
		@printf "\tClean done\n\n"

fclean:		clean
		$(RM) $(NAME)
		@printf "\tFClean done\n\n"

re:		fclean all

.PHONY:		all clean fclean re